// Desc: 箱型数据
export const DATA_boxTypeList = [
  { value: 5, label: "40HQ",boxTypeName:"高柜"},
  { value: 10, label: "40GP",boxTypeName:"高柜"},
  { value: 15, label: "20HQ",boxTypeName:"高柜"},
  { value: 20, label: "20GP",boxTypeName:"高柜"},
];  

// Desc: 箱型数据根据value获取label
export function DATA_FUC_boxTypeFilter(val, showName = false) {
  const item = DATA_boxTypeList.find((item) => item.value === val)
  if (item) {
    return showName ? `${item.label}(${item.boxTypeName})` : item.label
  }
  return ''
}